package com.kin207.netty.relay.mqtt.Enum;

public enum ClientDataEnum {
	START("0006", "START"),
	CALLBACK("0021", "CALLBACK"),
	GENERAL("0001","GENERAL"),
	REPORT("0001","REPORT"),
	SUCCESS("0021", "SUCCESS"), 
	PASSWORD("0001", "PASSWORD"), 
	CARD("0001", "CARD"), 
	FINGER("0001", "FINGER"),
	OTHER("0001", "OTHER"),
	DELIMAGE("0001", "DELIMAGE"),
	FM226("0024", "JPEG"),
	OFFLINE("0001", "OFFLINE"),
	WARN("0001", "WARN");
    private String name;  
    private String data;  
    private ClientDataEnum(String data, String name) {  
        this.name = name;  
        this.data = data;  
    } 
    
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

    @Override  
    public String toString() {  
        return this.data+"_"+this.name;  
    }  
}
